package com.sskj.qiangjin.bean;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by Q-Kang on 2019/1/9.
 */

public class RollMsg {


    /**
     * start : 10:10
     * end : 10:20
     * times : 9
     * sy_sec : 0
     * user_award : 1 QC
     * rank : [{"rank":"1","nickname":"lalala","roll_num":"991","award_qc":"10 QC"},{"rank":"2","nickname":"aaaaa","roll_num":"875","award_qc":"9 QC"}]
     */

    private String start;
    private String end;
    private String times;
    private String sy_sec;
    private String user_award;
    private List<RankBean> rank;

    public String getStart() {
        return start == null ? "" : start;
    }

    public void setStart(String start) {
        this.start = start;
    }

    public String getEnd() {
        return end == null ? "" : end;
    }

    public void setEnd(String end) {
        this.end = end;
    }

    public String getTimes() {
        return times == null ? "" : times;
    }

    public void setTimes(String times) {
        this.times = times;
    }

    public String getSy_sec() {
        return sy_sec == null ? "" : sy_sec;
    }

    public void setSy_sec(String sy_sec) {
        this.sy_sec = sy_sec;
    }

    public String getUser_award() {
        return user_award == null ? "" : user_award;
    }

    public void setUser_award(String user_award) {
        this.user_award = user_award;
    }

    public List<RankBean> getRank() {
        if (rank == null) {
            return new ArrayList<>();
        }
        return rank;
    }

    public void setRank(List<RankBean> rank) {
        this.rank = rank;
    }

    public static class RankBean {
        /**
         * rank : 1
         * nickname : lalala
         * roll_num : 991
         * award_qc : 10 QC
         */

        private String rank;
        private String nickname;
        private String roll_num;
        private String award_qc;

        public String getRank() {
            return rank == null ? "" : rank;
        }

        public void setRank(String rank) {
            this.rank = rank;
        }

        public String getNickname() {
            return nickname == null ? "" : nickname;
        }

        public void setNickname(String nickname) {
            this.nickname = nickname;
        }

        public String getRoll_num() {
            return roll_num == null ? "" : roll_num;
        }

        public void setRoll_num(String roll_num) {
            this.roll_num = roll_num;
        }

        public String getAward_qc() {
            return award_qc == null ? "" : award_qc;
        }

        public void setAward_qc(String award_qc) {
            this.award_qc = award_qc;
        }
    }
}
